/**
 * 查询对象类型
 */
export interface SendCopyQuery extends PageQuery {
  title?: string;
  status?: string;
  type?: number;
  time?: [];
  flow_id?: number;
  is_hid?: number;
}

/**
 * 分页对象
 */
export interface SendCopyPage {
  id?: number;
  flow_id?: number;
  title?: string;
  type?: number;
  reason?: string;
  start_time?: Date;
  status_color?: string;
  cc_status?: number;
  end_time?: Date;
  address?: string;
  is_hid?: number;
  sort?: number;
  nickname?: string;
  avatar?: string;
  org_name?: string;
  created_at?: Date;
  flow_name?: string;
  status?: number;
  step_order?: number;
  status_d?: string;
  approved_by?: string;
  type_name?: string;
  comment?: string;
  flow_status?: number;
}

export interface ApprovalForm {
  flow_id?: number;
  approval_id?: number;
  step_order?: number;
  status?: number;
  comment?: string;
}

export interface SendCopyOptions {
  value?: number;
  label?: string;
  flow?: Flow[];
}

export interface Flow {
  id?: number;
  title?: string;
  icon?: string;
  class_name?: string;
  form_data?: any;
  rules?: any;
  process?: any;
  field?: any;
}
